package com.zhuoyue.system.domain;

import com.zhuoyue.common.annotation.Excel;
import com.zhuoyue.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 企业动态对象 sys_movement
 *
 * @author zhanghui
 * @date 2021-08-23
 */
@Data
public class SysMovement extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 动态类型字典值ID. 图片, 图文(pictureOnly/pictureAndText)
     */

    private Long dictCode;

    @Excel(name = "动态类型")
    private String dictLabel;

    private String dictValue;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 内容
     */
    @Excel(name = "内容")
    private String content;

    /**
     * 图文类型时内容右侧的图标地址
     */
    @Excel(name = "图片地址")
    private String iconUrl;

    /**
     * 点击后跳转链接
     */
    @Excel(name = "跳转链接")
    private String redirectUrl;

    /**
     * 点击量
     */
    @Excel(name = "点击量")
    private Long clickCount;

    /**
     * 组织ID
     */
    private Long deptId;

    /**
     * 组织名称
     */
    @Excel(name = "所属组织")
    private String deptName;

    private String orgCode;

    /**
     * 状态（0正常 1停用）
     */
    @Excel(name = "状态", readConverterExp = "0=发布,1=未发布")
    private String status;

    private String swiper;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 按创建时间排序
     */
    private String orderByCreateTime;
}
